package com.heima.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class InsertBusinessDto {

    private String name;

    private Integer age;

    private String phone;

    private String qq;

    private String weixin;

    private String channel;

    private String city;

    private String provinces;

    private String remark;

    private Integer sex;

    private String subject;

    private String status = "1";

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private String createBy;

    private String assignBy;

    private String owner;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private String updateBy;

}
